
class FirstPublishBuyOrderModel {
  dynamic count;
  dynamic payPrice;
  dynamic orderId;
  bool? noPay;
  String? productType;

  FirstPublishBuyOrderModel({this.count, this.payPrice, this.orderId, this.noPay, this.productType});

  FirstPublishBuyOrderModel.fromJson(Map<String, dynamic> json) {
    count = json["count"];
    payPrice = json["payPrice"];
    orderId = json["orderId"];
    noPay = json["noPay"];
    productType = json["productType"];
  }

  static List<FirstPublishBuyOrderModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(FirstPublishBuyOrderModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["count"] = count;
    _data["payPrice"] = payPrice;
    _data["orderId"] = orderId;
    _data["noPay"] = noPay;
    _data["productType"] = productType;
    return _data;
  }
}